import request from '@/utils/request'

// 查询审批办证申请表列表
export function listTezhongCertTwo(query) {
  return request({
    url: '/certificate/tezhongCertTwo/list',
    method: 'get',
    params: query
  })
}

// 查询审批办证申请表详细
export function getTezhongCertTwo(id) {
  return request({
    url: '/certificate/tezhongCertTwo/' + id,
    method: 'get'
  })
}

// 新增审批办证申请表
export function addTezhongCertTwo(data) {
  return request({
    url: '/certificate/tezhongCertTwo',
    method: 'post',
    data: data
  })
}

// 修改审批办证申请表
export function updateTezhongCertTwo(data) {
  return request({
    url: '/certificate/tezhongCertTwo',
    method: 'put',
    data: data
  })
}

// 删除审批办证申请表
export function delTezhongCertTwo(id) {
  return request({
    url: '/certificate/tezhongCertTwo/' + id,
    method: 'delete'
  })
}


// 特作审批二
export function tezhongTwoApprovalSubmit(CertCertificate) {
  return request({
    url: '/certificate/tezhongCertTwo/tezhongTwoApprovalSubmit',
    method: 'post',
    data: CertCertificate
  })
}